package cn.jhg.account.rest;


import javax.ws.rs.ApplicationPath;

import org.glassfish.jersey.jackson.JacksonFeature;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.spring.scope.RequestContextFilter;



@ApplicationPath("resources")
public class RestResourceConfig extends ResourceConfig {
	public RestResourceConfig() {
		packages("cn.jhg.account.rest");
		register(RequestContextFilter.class);
		register(JacksonFeature.class);
		register(MultiPartFeature.class);
	}
}